package com.king.oa.service;

import java.util.Collection;
import java.util.List;

import com.king.oa.base.DaoSupport;
import com.king.oa.domain.Privilege;

public interface PrivilegeService extends DaoSupport<Privilege> {

	/**
	 * 查询顶级权限菜单
	 * @return
	 */
	List<Privilege> findTopList();

	/**
	 * 查询所有权限对应的URL集合（去重）
	 * @return
	 */
	Collection<String> findAllPrivilegeUrl();
	
}
